package com.th.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.th.pojo.Goods;
import org.apache.ibatis.annotations.Select;

public interface GoodsMapper extends BaseMapper<Goods> {

    @Select("SELECT SUM(stock) FROM goods")
    Integer selectSumStock();
}
